package net.diaowen.dwsurvey.service.impl;

import net.diaowen.common.service.BaseServiceImpl;
import net.diaowen.dwsurvey.dao.FindDictDao;
import net.diaowen.dwsurvey.service.FindDictManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class FindDictManagerImpl extends BaseServiceImpl implements FindDictManager {
    @Autowired
    public FindDictDao findDictDao;

    @Override
    public List<Map<String,String>> finddict(String id) throws Exception {
        return findDictDao.finddict(id);
    }

    @Override
    public void setBaseDao() {
        this.baseDao=findDictDao;
    }
}
